<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'customerTop.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
	<script src="//cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
	<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style>
		*{
		  	font-family: "微软雅黑";
		  }
		body{
		  	background-image: url("images/bgcolor.png");
		  	height:90px;
		}
		#top{
	  		position:relative;
	  		top:10px;
	  		font:80px '华文行楷';
	  		color:#5B5B5B;
	  		border-bottom:5px solid rgba(0,0,0,0.5);
	  	}
	  	.welcome{
	  		position:absolute;
	  		right:10px;
	  		top:20px;
	  	}
	</style>
  </head>
  
  <body>
    <div align="center" id="top">欢迎进入图书销售系统</div>
    <div class="welcome">
	    <span>欢迎你！<%=session.getAttribute("username")%></span>
	    <button class="btn btn-default" onclick="window.parent.location.href='index.jsp'">退出</button>
    </div>
  </body>
</html>
